<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="tSLogList" checkbox="true" fitColumns="false" title="文件日志" actionUrl="tSLogController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="id"  field="id"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="日期级别"  field="loglevel"    queryMode="group" hidden="true" width="120"></t:dgCol>
   <t:dgCol title="日志内容"  field="logcontent"  query="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作IP"  field="note" queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="操作浏览器"  field="broswer"    queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="操作时间"  field="operatetime" query="true" formatter="yyyy-MM-dd hh:mm:ss"   queryMode="group"  width="120"></t:dgCol>
  <%--  <t:dgCol title="日志类型"  field="operatetype" query="true"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作用户"  field="userid"  query="true"  queryMode="single"  width="120"></t:dgCol> --%>
  </t:datagrid>
  </div>
 </div>
 <script src = "webapp/com/zybk/zy_log_list/tSLogList.js"></script>		
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 		$("#tSLogListtb").find("input[name='operatetime_begin']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 		$("#tSLogListtb").find("input[name='operatetime_end']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 });
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'tSLogController.do?upload', "tSLogList");
}

//导出
function ExportXls() {
	JeecgExcelExport("tSLogController.do?exportXls","tSLogList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("tSLogController.do?exportXlsByT","tSLogList");
}
 </script>